package cn.winwintech.Incense.dao;

import java.util.List;

public interface GenericDao {
	
	public void save(Object e) ;

	public void delete(Object e);

	public <T> T findSingle(Class<T> modelClass, String fieldName, Object fieldValue);

	public <T> List<T> find(Class<T> modelClass);

	public <T> T find(Class<T> class1, Object id);
	
	public int getTotalPage(int pageSize, int totalCount);


	
		
}
